<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>字符串</title>
</head>
<body>
  <script type="module">
    // enum Gender {
    //   Male,
    //   Female
    // }
    let o = {name: 'jack', age: 19,
      // gender: Gender.Female
      gender: 2
    }
    const {name, age, gender} = o
    console.log(name, age, gender)
  </script>
</body>
</html>